package com.tm.media.controller;

import com.tm.media.service.WmFansPortraitService;
import com.tm.media.utils.utils.Result;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Ly
 * @Data 2023/3/8 16:44
 * @ClassName UserFansController
 */
@RestController
@RequestMapping("api/v1/user_fans")
public class UserFansController {
    @Autowired
    private WmFansPortraitService wmFansPortraitService;
    @GetMapping("fans_portrait")
    public Result fans_portrait(){
       return wmFansPortraitService.fans_portrait();
    }
}
